package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/PurchaseAcceptance.class */
public class PurchaseAcceptance implements Serializable {
    private static final long serialVersionUID = 159667928685579400L;
    private Integer id;
    private String acceptanceNum;
    private String planTime;
    private String actualTime;
    private String startTime;
    private Integer status;
    private String purchaseType;
    @ApiModelProperty("附件集合")
    private List<UploadFile> uploadFileList;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAcceptanceNum(String acceptanceNum) {
        this.acceptanceNum = acceptanceNum;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public void setActualTime(String actualTime) {
        this.actualTime = actualTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setPurchaseType(String purchaseType) {
        this.purchaseType = purchaseType;
    }

    public void setUploadFileList(List<UploadFile> uploadFileList) {
        this.uploadFileList = uploadFileList;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PurchaseAcceptance)) {
            return false;
        }
        PurchaseAcceptance other = (PurchaseAcceptance) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$acceptanceNum = getAcceptanceNum();
        Object other$acceptanceNum = other.getAcceptanceNum();
        if (this$acceptanceNum == null) {
            if (other$acceptanceNum != null) {
                return false;
            }
        } else if (!this$acceptanceNum.equals(other$acceptanceNum)) {
            return false;
        }
        Object this$planTime = getPlanTime();
        Object other$planTime = other.getPlanTime();
        if (this$planTime == null) {
            if (other$planTime != null) {
                return false;
            }
        } else if (!this$planTime.equals(other$planTime)) {
            return false;
        }
        Object this$actualTime = getActualTime();
        Object other$actualTime = other.getActualTime();
        if (this$actualTime == null) {
            if (other$actualTime != null) {
                return false;
            }
        } else if (!this$actualTime.equals(other$actualTime)) {
            return false;
        }
        Object this$startTime = getStartTime();
        Object other$startTime = other.getStartTime();
        if (this$startTime == null) {
            if (other$startTime != null) {
                return false;
            }
        } else if (!this$startTime.equals(other$startTime)) {
            return false;
        }
        Object this$status = getStatus();
        Object other$status = other.getStatus();
        if (this$status == null) {
            if (other$status != null) {
                return false;
            }
        } else if (!this$status.equals(other$status)) {
            return false;
        }
        Object this$purchaseType = getPurchaseType();
        Object other$purchaseType = other.getPurchaseType();
        if (this$purchaseType == null) {
            if (other$purchaseType != null) {
                return false;
            }
        } else if (!this$purchaseType.equals(other$purchaseType)) {
            return false;
        }
        Object this$uploadFileList = getUploadFileList();
        Object other$uploadFileList = other.getUploadFileList();
        return this$uploadFileList == null ? other$uploadFileList == null : this$uploadFileList.equals(other$uploadFileList);
    }

    protected boolean canEqual(Object other) {
        return other instanceof PurchaseAcceptance;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $acceptanceNum = getAcceptanceNum();
        int result2 = (result * 59) + ($acceptanceNum == null ? 43 : $acceptanceNum.hashCode());
        Object $planTime = getPlanTime();
        int result3 = (result2 * 59) + ($planTime == null ? 43 : $planTime.hashCode());
        Object $actualTime = getActualTime();
        int result4 = (result3 * 59) + ($actualTime == null ? 43 : $actualTime.hashCode());
        Object $startTime = getStartTime();
        int result5 = (result4 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $status = getStatus();
        int result6 = (result5 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $purchaseType = getPurchaseType();
        int result7 = (result6 * 59) + ($purchaseType == null ? 43 : $purchaseType.hashCode());
        Object $uploadFileList = getUploadFileList();
        return (result7 * 59) + ($uploadFileList == null ? 43 : $uploadFileList.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "PurchaseAcceptance(id=" + getId() + ", acceptanceNum=" + getAcceptanceNum() + ", planTime=" + getPlanTime() + ", actualTime=" + getActualTime() + ", startTime=" + getStartTime() + ", status=" + getStatus() + ", purchaseType=" + getPurchaseType() + ", uploadFileList=" + getUploadFileList() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getAcceptanceNum() {
        return this.acceptanceNum;
    }

    public String getPlanTime() {
        return this.planTime;
    }

    public String getActualTime() {
        return this.actualTime;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public Integer getStatus() {
        return this.status;
    }

    public String getPurchaseType() {
        return this.purchaseType;
    }

    public List<UploadFile> getUploadFileList() {
        return this.uploadFileList;
    }
}